package com.ruoyi.hospital.domain.prescriptionInfo;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 处方模板对象 prescription_template
 * 
 * @author wendao
 * @date 2024-08-20
 */
public class PrescriptionTemplate extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String templateName;

    /** 诊断信息 */
    @Excel(name = "诊断信息")
    private String temDiagnosis;

    /** 类型 */
    @Excel(name = "类型",dictType = "tem_type")
    private Integer temType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String docName;
    private Integer docId;

    private Integer templateId;
    private String prescriptionNumber; //处方编号

    public String getPrescriptionNumber() {
        return prescriptionNumber;
    }

    public void setPrescriptionNumber(String prescriptionNumber) {
        this.prescriptionNumber = prescriptionNumber;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    /** 删除时间 */
    private Integer deleteTime;

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setTemDiagnosis(String temDiagnosis) 
    {
        this.temDiagnosis = temDiagnosis;
    }

    public String getTemDiagnosis() 
    {
        return temDiagnosis;
    }
    public void setTemType(Integer temType) 
    {
        this.temType = temType;
    }

    public Integer getTemType() 
    {
        return temType;
    }
    public void setDocId(Integer docId) 
    {
        this.docId = docId;
    }

    public Integer getDocId() 
    {
        return docId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("temDiagnosis", getTemDiagnosis())
            .append("temType", getTemType())
            .append("docId", getDocId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
